package biz.master.dto;

import java.io.Serializable;

public class Product implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 4830959571765823466L;
	private Integer id;
	private String code;
	private String barcode;
	private String name;
	private Integer productCategoryId;
	private String unit;
	private Integer saleFlag;
	private Integer purchaseFlag;
	private String remarks;
	private String productCategoryName;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getBarcode() {
		return barcode;
	}
	public void setBarcode(String barcode) {
		this.barcode = barcode;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getProductCategoryId() {
		return productCategoryId;
	}
	public void setProductCategoryId(Integer productCategoryId) {
		this.productCategoryId = productCategoryId;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public Integer getSaleFlag() {
		return saleFlag;
	}
	public void setSaleFlag(Integer saleFlag) {
		this.saleFlag = saleFlag;
	}
	public Integer getPurchaseFlag() {
		return purchaseFlag;
	}
	public void setPurchaseFlag(Integer purchaseFlag) {
		this.purchaseFlag = purchaseFlag;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public String getProductCategoryName() {
		return productCategoryName;
	}
	public void setProductCategoryName(String productCategoryName) {
		this.productCategoryName = productCategoryName;
	}
	@Override
	public String toString() {
		return "Products [id=" + id + ", code=" + code + ", barcode=" + barcode
				+ ", name=" + name + ", productCategoryId=" + productCategoryId
				+ ", unit=" + unit + ", saleFlag=" + saleFlag
				+ ", purchaseFlag=" + purchaseFlag + ", remark=" + remarks + "]";
	}
	
}
